import { httpDelete, httpGet, httpPost, httpPut } from "../utils/http"
// 查询签约
export const findSignApi = (data) => {
    return httpPost('/signs/search', data)
}
// 新增签约
export const addSignApi = (data) => {
    return httpPost('/signs/add', data)
}
// 修改签约记录
export const updateSignApi = (data) => {
    return httpPut('/signs/update', data)
}
// 修改签约状态
export const updateSignStateApi = (data) => {
    return httpPut('/signs/updateState', data)
}

// 获取一个签约详情 
export const getSignDetailApi = (data) => {
    return httpGet('/signs/detail', data)
}
// 获取一个完整签约详情 
export const getSignFullApi = (data) => {
    return httpGet('/signs/fullDetail', data)
}